ICircularBufferEx

Ecng.Collections

Common interface for statistic circular buffers.

Implementa: ICircularBuffer<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Propiedades

Max
public NullableEx<TItem> Max { get; }
value = iCircularBufferEx.Max

Max value.

Min
public NullableEx<TItem> Min { get; }
value = iCircularBufferEx.Min

Min value.

Stats
public CircularBufferStats Stats { get; set; }
value = iCircularBufferEx.Stats
iCircularBufferEx.Stats = value

Specifies which statistics to calculate.

Sum
public TItem Sum { get; }
value = iCircularBufferEx.Sum

Sum of all elements in buffer.

SumNoFirst
public TItem SumNoFirst { get; }
value = iCircularBufferEx.SumNoFirst

Sum of all elements in buffer without the first element.